from django.db import models

# Create your models here.

class UserInfo(models.Model):
    uname = models.CharField(max_length = 20)
    upwd = models.CharField(max_length = 40)
    uemail = models.CharField(max_length = 20)
    uphone = models.CharField(max_length = 11,default = '')
    uaddress = models.CharField(max_length = 200,default = '')
    def __str__(self):
        return self.uname.encode('utf-8')